package com.gscitysfy.cus.drain.modules.duty.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gscitysfy.cus.drain.modules.duty.entity.MoperDutyRlRecord;


import java.util.Date;
import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author Administrator
 * @since 2022-03-29 15:06:16
 */
public interface IMoperDutyRlRecordService extends IService<MoperDutyRlRecord> {

    /**
     * @param planDate 指定时间
     * @return
     */
    List<MoperDutyRlRecord> listLastMonthDutyRecord(Date planDate);

    /**
     * 删除指定月份的自动排班记录
     *
     * @param planDate
     */
    void removeAllCurrentMonthDutyDate(Date planDate);

}
